<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/3/15
  Time: 16:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/layui/layuiadmin/admin.css" media="all">
    <link rel="stylesheet" href="/layui/layuiadmin/template.css" media="all">

</head>
<body>

<style>
    body{background: #f2f2f2;}
</style>
<%@include file="head.jsp"%>
    <form action="${pageContext.request.contextPath}/all.do" >
        <input type="submit" value="查询" class="layui-btn layui-btn-normal">
        <div class="layui-fluid layadmin-maillist-fluid">
            <div class="layui-row layui-col-space15">
                <c:forEach var="Apply" items="${LoseApplyAll}" varStatus="status">
                    <div class="layui-col-md4 layui-col-sm6">
                        <div class="layadmin-contact-box" >
                            <div class="layui-col-md4 layui-col-sm6">
                                <a href="javascript:;">
                                    <div class="layadmin-text-center">
                                        <img src="/layui/images/face/60.gif">
                                        <div class="layadmin-maillist-img layadmin-font-blod">拾取到的物品</div>
                                    </div>
                                </a>
                            </div>

                            <div class="layui-col-md8 layadmin-padding-left20 layui-col-sm6">
                                <a href="javascript:;">
                                    <h3 class="layadmin-title">
                                        <strong>${Apply.applyName}</strong>
                                    </h3>
                                    <p class="layadmin-textimg">
                                        <i class="layui-icon layui-icon-location"></i>
                                        地点：${Apply.applyAddress}
                                    </p>
                                </a>
                                <div class="layadmin-address">
                                    <a href="javascript:;">
                                        <%--<strong>Hu Ge studio</strong>--%>
                                        <br>
                                        物品描述 : ${Apply.applyExplain}
                                        <br>
                                        拾取人信息：
                                        <br>
                                        姓名：${Apply.user.userName}
                                        <br>
                                        住址：${Apply.user.userAddress}
                                        <br>
                                        <addr title="phone">Tel:</addr>
                                        ${Apply.user.userPhone}
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                </c:forEach>
                <c:forEach var="Good" items="${LoseGoodAll}" varStatus="status">
                    <div class="layui-col-md4 layui-col-sm6">
                        <div class="layadmin-contact-box" >
                            <div class="layui-col-md4 layui-col-sm6">
                                <a href="javascript:;">
                                    <div class="layadmin-text-center">
                                        <img src="/layui/images/face/61.gif">
                                        <div class="layadmin-maillist-img layadmin-font-blod">丢失了的物品</div>
                                    </div>
                                </a>
                            </div>

                            <div class="layui-col-md8 layadmin-padding-left20 layui-col-sm6">
                                <a href="javascript:;">
                                    <h3 class="layadmin-title">
                                        <strong>${Good.goodName}</strong>
                                    </h3>
                                    <p class="layadmin-textimg">
                                        <i class="layui-icon layui-icon-location"></i>
                                        地点：${Good.goodAddress}
                                    </p>
                                </a>
                                <div class="layadmin-address">
                                    <a href="javascript:;">
                                        <strong>我爱学习</strong>
                                        <br>
                                        物品描述 : ${Good.goodExplain}
                                        <br>
                                        丢 失 人：
                                        <br>
                                        姓名：${Good.user.userName}
                                        <br>
                                        住址：${Good.user.userAddress}
                                        <addr title="phone">Tel:</addr>
                                            ${Good.user.userName}
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                </c:forEach>
            </div>
        </div>
    </form>
</body>
</html>
